Hi I run ocean scripts from command line as well from icfb. I want to run createNelist() if I run the script from icfb The code should look someting like if(blahblah() then design(libname cellname viewname) createNetlist(?recreateAll t) else design(netlistfile) ) The function blahblah() should tell me if I am running ocean from command line or icfb. Can anybody tell me if such a function already exists ? Regards Shakti