Files in profile.d should end with .sh
Missing reference to build_root variable
Quote environment variable values