Updated structure for a bin file and adding application auto detect, script now launches the backend server properly.