Some small changes to main and functions for planning