Allow specifying entry point instead of script.

A launch.py script will automatically be generated.