Remove Bashing main function. Fix process running on background.