Fixing the build process
Added 'maximize' functionality