Update scripts to better handle `pallur_*` environment variables
Add support for phase selection in `.magic` script
Add garbage-less build