Improved bash entry point