Converting from ubuntu to debian base system and specifying a more dynamic entry point