Split the enviroment whitelist for runscript into a system and user part. Update it to use LIBDIR so that we can set 'lib' or 'lib64'.
Changed paths: