Added --function to run specific entry point with specific input